from numpy import *
import numpy as np
# dis = sqrt(sum(power([2, 10], 2)))
# v1 = mat([2, 10])
# v2 = mat([2, 5])
# dis2 = np.linalg.norm(v1 - v2)


def calculateEuclideanDistance(list1, list2):
    vec1 = mat(list1)
    vec2 = mat(list2)
    return sum(power(vec1 - vec2, 2))

if __name__ == '__main__':
    a = [2, 10]
    b = [5, 8]
    c = [1, 2]
    dis = calculateEuclideanDistance([4, 9], c)
    print(dis)